package com.hq.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.hq.pojo.Account;

public interface AccountMapper {
	
	// 获取账户密码
	String getPassword(@Param("account_name") String account_name);

	//插入新账户
	int insertAccount(Account account);

	//获取所有账户
	List<Account> getAllAccount();

	//通过账户名称获取账户ID
	Integer getAccountIdByAccountName(@Param("account_name") String account_name);
}
